x86/time: relax barriers
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:08:00 +0000 (10:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:08:00 +0000 (10:08 +0200)
commit2fd44a3edc1918c5e0eeab2d695c9a0dd2d3f506
treebf477ce447e5a065e75ce063d85e80abe1a5e8aa
parent7676077a0a034b297df484af04656012ca271618
x86/time: relax barriers

On x86 there's no need for full barriers in loops waiting for some
memory location to change. Nor do we need full barriers between two
reads and two writes - SMP ones fully suffice.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c